{% if items %}
	<div class="widget-aggregator-main">
		{% for index,item in items %}
			{% if index < 1 %}
				<article class="kino-article">
					<a name="{{ entry.slug }}" class="kino-article-anchor"></a>
					{% if item.images.count > 0 %}
						{% set image=item.images.0 %}
						<img src="{{ image.forGallery.url }}"
							 alt="{{ image.name }}"
							 title="{{ image.name }}" />
					{% endif %}
					<header>
						<h1><a href="{{ section.url }}#{{ item.slug }}">{{ item.name }}</a></h1>
					</header>
				</article>
			{% else %}
				<article class="main-rest-article clearfix">
					{% if item.images.count > 0 %}
						{% set image=item.images.0 %}
                        {% if image.forGallery.url %}
                            <img src="{{ image.forGallery.url }}"
                                 alt="{{ image.name }}"
                                 title="{{ image.name }}" />
                        {% endif %}
					{% endif %}
					<h1><a href="{{ section.url }}#{{ item.slug }}">{{ item.name }}</a></h1>
					{{ item.content|striptags|truncate(intro_length) }}
				</article>
			{% endif %}
		{% endfor %}
	</div>
{% endif %}

{# <li>
			{% if item.images.count>0 %}
				{% set image=images.0 %}
				<img src="{{ image.forGallery.url }}"
					 alt="{{ image.name }}"
					 title="{{ image.name }}"
					 style="width:{{ image.forGallery.width }}px;height:{{ image.forGallery.height }}px" />
			{% endif %}

			<a href="{{ item.url }}">{{ item.name }}</a>
		</li>
	{% endfor %}


		#}